﻿namespace Jst.Application.Contracts.Dto.SignIn
{
    public class SingleLoginUserModel
    {
        /// <summary>
        /// 单点登录用户id
        /// </summary>
        public string UserId { get; set; }
        /// <summary>
        /// 单点登录用户姓名
        /// </summary>
        public string UserName { get; set; }
        /// <summary>
        /// 令牌
        /// </summary>
        public string Token { get; set; }
        /// <summary>
        /// 是否登录成功
        /// </summary>
        public bool IsExpired { get; set; }
        /// <summary>
        /// 角色列表
        /// </summary>
        public List<NavigationBar> RoleList { get; set; }
        /// <summary>
        /// 科室列表
        /// </summary>
        public List<OrgModel> DeptList { get; set; }

        public double expires_in { get; set; }

        public object UserInfo { get; set; }
    }


    public class OrgModel
    {
        public string OrgName { get; set; }
        public string OrgCode { get; set; }
        public string ParentOrgCode { get; set; }
        public string OrgType { get; set; }
        public string Sequence { get; set; }
    }


    public class LoginTokenModel
    {
        public bool LoginStatus { get; set; }
        public string Token { get; set; }
        public string Message { get; set; }
        public string Apps { get; set; }
        public string Status { get; set; }
        public string TokenKey { get; set; }
    }
}
